home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue29 / afpelog / AFPELOG.ZIP / readme.txt < prev   
Encoding:
Text File  |  1997-10-08  |  2.8 KB  |  51 lines

  1. (*******************************************************************************
  2. Subject    : afpEventLog Component
  3. Version    : 1.0
  4. Author     : Alfred Petri (alfred_petri@compuserve.com)
  5. Copyright  : Copyright (c) 1997 by Alfred Petri. All rights reserved.
  6. Description: This is a non-visual VCL component that encapsulates the
  7.              NT 4.x REPORTEVENT function. The purpose of this component
  8.              is to facilitate the generation of log entries in the
  9.              Windows NT Event-Log.
  10. Platform   : Delphi 3.01, NT
  11. Date       : 8 October 1997
  12. Release    : Freeware, just let me know what you think of it. If you make
  13.              any modifications to the source, please send me a copy. I will
  14.              verify your changes and give you proper credit when included.
  15.  
  16.  
  17.  ******************************************************************************
  18.  *   Permission to use, copy,  modify, and distribute this software and its   *
  19.  *        documentation without fee for any purpose is hereby granted,        *
  20.  *   provided that the above copyright notice appears on all copies and that  *
  21.  *     both the copyright notice and this permission notice appear in all     *
  22.  *                         supporting documentation.                          *
  23.  *                                                                            *
  24.  * NO REPRESENTATIONS ARE MADE ABOUT THE SUITABILITY OF THIS SOFTWARE FOR ANY *
  25.  *    PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.    *
  26.  *        ALFRED PETRI SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY        *
  27.  *                          THE USE OF THIS SOFTWARE.                         *
  28.  ******************************************************************************
  29.  
  30. Properties:
  31. - ApplicationName:     Applicationname to appear in Eventlog
  32. - RegisterApplication: If True, a Key of ApplicationName is created in
  33.                                      HKEY_LOCAL_MACHINE
  34.                        \SYSTEM\CurrentControlSet\Services\EventLog\Application
  35.                        If the application is not registered (and thus a
  36.                        corresponding key is not found), EventViewer will
  37.                        not be able to filter messages for this application.
  38. - IncludeUserName:     If True, includes the current user name in the message
  39.                        written to the event log.
  40. - EventType:           Determines the icon to display in Event Viewer.
  41. - EventID:             Integer Positive Number - written to log as is.
  42. - EventCategory:       Integer Positive Number - written to log as is.
  43.  
  44. Methods:
  45. - LogEvent:            Used to write a message to the Event Log. Typical call:
  46.   afpEventLog1.LogEvent('Password Expired!'#13#10'Contact support!');
  47.  
  48. Notes:
  49. *******************************************************************************)
  50.  
  51.